<ion-view view-title="修改价格">
    <ion-content>
        <!--原来的-->
       <!-- <li class="item padding-10 font-large-my">
    		修改价格
    		<span class="right-zhang">使用  - 表示减法</span>
    	</li>
    	<div class="list" ng-repeat="order in datas.order">
    		<li class="item padding-10 font-large-my">
    			 订单号：{{order_id}}
    			 <span class="right-zhang">下单时间：{{order.order_time}}</span>
    		</li>
    		<li class="item item-thumbnail-left" ng-repeat="goods in order.goods" style="padding-right: 5px;">
    			<img src="{{goods.image}}" />
    			<p>{{goods.goods_name}}</p>
    			<p>
    				原价：<span class="assertive">{{goods.price}}</span>
    			</p>
    			<p style="line-height: 25px;">
    				<input type="text" placeholder="价格" class="stable-bg left-zhang" style="width: 25%;height:25px;padding-left: 5px;"/>
    				<span class="left-zhang">或</span>

    				<input type="number" placeholder="折扣数" ng-model="input.discount" class="stable-bg left-zhang" style="width: 25%;height:25px;padding-left: 5px;"/>
    			    =<span class="royal" ng-bind="goods.price*input.discount>0?goods.price*input.discount:goods.price|number:2"></span>
    			</p>
    		</li>
    		<li class="item padding-10">
    			<p><span class="right-zhang">原价合计：{{order.total|currency:'￥'}}</span></p>
    			<p>
    				共修改：{{order.modify|currency:'￥'}}
    				<span class="right-zhang">合计：<span class="assertive">{{order.now_total|currency:'￥'}}</span></span>
    			</p>
    			<div class="button-bar padding">
					<button class="button button-small font-large-my  button-assertive" on-tap="cancel(order.order_id)">取消</button>
					<button class="button button-small font-large-my  button-positive col-offset-10"  on-tap="get_change()">确定</button>
				</div>
    		</li>
    	</div>--><!--原来的-->

        <!--改版的-->
        <div class="list" ng-repeat="order in datas.order">
            <li class="item padding-10 font-middle-my">
                <p>订单号：{{order_id}}</p>
                <p>下单时间：{{order.order_time}}</p>
            </li>
            <li class="item item-thumbnail-left" ng-repeat="goods in order.goods" style="padding-right: 5px;">
                <img src="{{goods.image}}" ng-if="goods.image"/>
                <img src="{{noImg}}" ng-if="goods.image==''||goods.image==null"/>
                <p class=>{{goods.goods_name}}</p>
                <p>原价：<span class="assertive margin-bottom-10">{{goods.price |currency:'￥'}}</span></p>
                    <p>共<span class="assertive">{{goods.nums}}</span>件商品</p>
            </li>
            <li class="item item-input item-input-inset item-icon-left">
                    配送费：<input type="number"  ng-model="order.cost_shipping" class="item-input-wrapper " ng-change="jia($index)"/>元
            </li>
            <li class="item">
                <p><span class="right-zhang">原价合计：{{order.now_total|currency:'￥'}}</span></p>
                <p>
                <span class="right-zhang">合计(含运费)：<span class="assertive" ng-bind="input.sum[$index] |currency:'￥'"></span></span>
                </p>
                <div class="button-bar padding">
                    <button class="button button-small font-large-my  button-assertive" on-tap="cancel(order.order_id)">取消</button>
                    <button class="button button-small font-large-my  button-positive col-offset-10" on-tap="submit($index)">确定</button>
                </div>
            </li>
        </div>
        <!--改版的-->
    </ion-content>
</ion-view>